<?php

return array(
    'database' => array(
	    /*
	    'adapter' => 'PDO_SQLITE',
        'params' => array(
	        'dbname' => '/Library/WebServer/Documents/wsb/WSB/sql/wsb.sqlite'
	    ),
	    */
        'adapter' => 'MYSQLI',
        'params' => array(
	        'host' => 'localhost',
	        'dbname' => 'wsb04',
			'username' => 'wsb04',
	        'password' => 'wsb04',
	        //'driver_options' => array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES UTF8;')
	        'driver_options' => array(MYSQLI_INIT_COMMAND => 'SET NAMES UTF8;')
	    ),
	    'useMetadataCache' => true
    ),
    'application' => array(
		'defaultAdminLanguage' => 'de',
		'debug' => false,
		'paginationCount' => 25,
		'frameset' => false,
		'notFoundPageId' => 134,
		'accessDeniedPageId' => 143,
		'profiler' => false,
		'defaultPopupWidth' => 600,
		'defaultPopupHeight' => 800,
		'cryptSalt' => 'bacb98acf97e0b6112b1d1b650b84971'
	),
    'file' => array(
    	'filePath' => 'media/',
		'trashPath'	=> 'trash/',
		'fileCreateMask' => 0644, // Oktalzahl (mit fuehrender 0)
		'folderCreateMask' => 0777 // Oktalzahl (mit fuehrender 0)
	),
	'meta' => array(
		'keywords' => 'sherpa outdoor, schweiz, jacken, westen, shirts, sweaters, hosen, shorts, base layers, underwear, shoes, schuhe, rucks&auml;cke, schlafs&auml;cke, zelte',
		'description' => 'Sherpa Outdoor ist ein f&uuml;hrendes Schweizer Outdoor-Label, welches f&uuml;r Produkte h&ouml;chster Qualit&auml;t zu unschlagbaren Preisen steht. Unser Handeln basiert auf den Grundwerten: faire Produktion, beste Qualit&auml;t, attraktive Preise, soziales Engagement.'
	),
	'includePaths' => array(
		'zend' => '/webprojekte/www/', // Zend Framework
		// 'pear' => '', // PEAR
		// '3rdparty' => '' // 3rd Party (Ext-JS, YUI, FCKeditor)
	),
	'niceUrls' => true,
	'benchmark' => false,
	'mail' => array(
		'transport' => 'sendmail', // Moegliche Werte: sendmail, smtp. Default: sendmail
		'smtp' => array(
			'server' => 'server',
			'username' => 'username',
			'password' => 'password'
		)
	),
	'frontend' => array(
		'layout' => 'design'
	),
	'hooks' => array(
        // 2 FUER 1 AKTION
        array(
            'key' => 'Sherpa/View/Cart/Index/BasketSubtotal',
            'path' => WSB_MODULES_PATH . 'sherpa/hooks/TwoForOneCampaign.php',
            'class' => 'Sherpa_Hook_TwoForOneCampaign',
            'method' => 'viewCartIndexBasketSubtotal'
        ),
        array(
            'key' => 'Sherpa/View/Cart/Index/ProductsSubtotal',
            'path' => WSB_MODULES_PATH . 'sherpa/hooks/TwoForOneCampaign.php',
            'class' => 'Sherpa_Hook_TwoForOneCampaign',
            'method' => 'viewCartIndexProductsSubtotal'
        ),
        array(
            'key' => 'Sherpa/View/Basket/LastAdded/Subtotal',
            'path' => WSB_MODULES_PATH . 'sherpa/hooks/TwoForOneCampaign.php',
            'class' => 'Sherpa_Hook_TwoForOneCampaign',
            'method' => 'viewBasketLastAddedSubtotal'
        ),
        array(
            'key' => 'Sherpa/Model/BasketProducts/CalculateTotal',
            'path' => WSB_MODULES_PATH . 'sherpa/hooks/TwoForOneCampaign.php',
            'class' => 'Sherpa_Hook_TwoForOneCampaign',
            'method' => 'modelBasketProductsCalculateTotal'
        ),
        array(
            'key' => 'Sherpa/View/Checkout/Summary/Subtotal',
            'path' => WSB_MODULES_PATH . 'sherpa/hooks/TwoForOneCampaign.php',
            'class' => 'Sherpa_Hook_TwoForOneCampaign',
            'method' => 'viewCheckoutSummarySubtotal'
        ),
        array(
            'key' => 'Sherpa/View/Checkout/Confirmation/Subtotal',
            'path' => WSB_MODULES_PATH . 'sherpa/hooks/TwoForOneCampaign.php',
            'class' => 'Sherpa_Hook_TwoForOneCampaign',
            'method' => 'viewCheckoutConfirmationSubtotal'
        ),
        array(
            'key' => 'Sherpa/View/Checkout/Mail/Subtotal',
            'path' => WSB_MODULES_PATH . 'sherpa/hooks/TwoForOneCampaign.php',
            'class' => 'Sherpa_Hook_TwoForOneCampaign',
            'method' => 'viewCheckoutMailSubtotal'
        ),
        array(
            'key' => 'Sherpa/CheckoutController/OrderAction/Subtotal',
            'path' => WSB_MODULES_PATH . 'sherpa/hooks/TwoForOneCampaign.php',
            'class' => 'Sherpa_Hook_TwoForOneCampaign',
            'method' => 'checkoutControllerOrderActionSubtotal'
        )
	)
);
